// gitee webhook 处理 
export async function execute(http_message) {
    if(http_message["headers"] && http_message["headers"]["x-gitee-token"] === "123123"){
		let body = http_message["body"];
		if(body["hook_name"] === "push_hooks"){
			let git_http_url = body["repository"]["git_http_url"];
			let repository_name = body["repository"]["name"];
			let message = body["head_commit"]["message"];
			console.log(message)
			let send_message = `仓库[${repository_name}]收到新的提交, ${message} . 仓库地址: ${git_http_url}`;
			console.log(send_message)
			G.OneBotUtils.send_ws_group_text_message(1037049599, send_message);
			G.OneBotUtils.send_ws_group_text_message(154213998, send_message);
		}
	}
}